package com.qitmiaojie.controller;


import com.qitmiaojie.controller.utils.Result;
import com.qitmiaojie.pojo.Matertask;
import com.qitmiaojie.service.MatertaskService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@Slf4j
@RequestMapping("/Matertask")
public class MatertaskController {

//    @Autowired
//    private MatertaskService MService;
//
//
//    @PostMapping("add")
//    public Result upMatertask(@RequestBody Matertask matertask){
//        boolean addR = MService.Create(matertask);
//
//        return addR ? Result.success(addR):Result.error("添加失败");
//    }



}
